package com.exam.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 考试管理表
 * </p>
 *
 * @author zyh
 * @since 2023-03-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("exam_manage")
@ApiModel(value="ExamManage对象", description="考试管理表")
public class ExamManage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "考试编号")
    @TableId(value = "examCode", type = IdType.AUTO)
    private Integer examCode;

    @ApiModelProperty(value = "该次考试介绍")
    private String description;

    @ApiModelProperty(value = "课程名称")
    private String source;

    @ApiModelProperty(value = "试卷编号")
    private Integer paperId;

    @ApiModelProperty(value = "考试日期")
    private String examDate;

    @ApiModelProperty(value = "持续时长")
    private Integer totalTime;

    @ApiModelProperty(value = "年级")
    private String grade;

    @ApiModelProperty(value = "学期")
    private String term;

    @ApiModelProperty(value = "专业")
    private String major;

    @ApiModelProperty(value = "学院")
    private String institute;

    @ApiModelProperty(value = "总分")
    private Integer totalScore;

    @ApiModelProperty(value = "考试类型")
    private String type;

    @ApiModelProperty(value = "考生须知")
    private String tips;


}
